include_rules = [
    "+base/atomic_sequence_num.h",
    "+base/memory/scoped_refptr.h",
    "+base/strings/char_traits.h",
    "+mojo/public/cpp/bindings",
    "+mojo/public/cpp/system",
    "+net/base/net_errors.h",
    "+services/device/public/mojom",
    "+services/network/public/cpp/shared_url_loader_factory.h",
    "+services/viz/public/mojom/hit_test/hit_test_region_list.mojom-blink.h",
    "+skia/ext/skia_utils_base.h",
    "+third_party/blink/public/common",
    "+third_party/blink/public/web",
    "+third_party/blink/renderer/bindings",
    "+third_party/blink/renderer/core",
    # We do not want any new dependencies on core/exported or
    # core/frame/web_(local|remote)_frame_impl.h until we resolve the control
    # layer.
    "!third_party/blink/renderer/core/exported",
    "!third_party/blink/renderer/core/frame/web_local_frame_impl.h",
    "!third_party/blink/renderer/core/frame/web_remote_frame_impl.h",
    "+third_party/blink/renderer/modules",
    "+ui/accessibility/ax_mode.h",
    "+ui/display/screen_info.h",
    "+ui/display/screen_infos.h",
    "+ui/display/mojom",
    "+ui/gfx/geometry",
    "-web",
]

specific_include_rules = {
    "cookie_store.cc": [
        "+services/network/public/cpp/is_potentially_trustworthy.h",
    ],
    "media_capabilities_fuzzer.cc": [
        "+testing/libfuzzer/proto/lpm_interface.h",
        "+third_party/protobuf/src/google/protobuf/repeated_field.h",
    ],
    ".*_decoder_fuzzer.cc": [
        "+base/run_loop.h",
    ],
    ".*_encoder_fuzzer.cc": [
        "+base/at_exit.h",
        "+base/run_loop.h",
    ],
    ".*_fuzzer.cc": [
        "+testing/libfuzzer/proto/lpm_interface.h",
    ],
    "canvas_fuzzer.cc": [
        "+base/test/bind.h",
    ],
    "web_ax_object.cc": [
        "+ui/accessibility/ax_action_data.h",
    ],

    "tcp_writable_stream_wrapper.h": [
        "+base/allocator/partition_allocator/partition_root.h",
    ]
}
